package com.mh.exception;

/**
 * Date:2023/9/9
 * author:zmh
 * description:
 **/


public class CustomException extends Exception {
    private int httpStatusCode;
    private String responseBody;

    public CustomException(String message, int httpStatusCode, String responseBody) {
        super(message);
        this.httpStatusCode = httpStatusCode;
        this.responseBody = responseBody;
    }

    public int getHttpStatusCode() {
        return httpStatusCode;
    }

    public String getResponseBody() {
        return responseBody;
    }
}

